package org.dxy.infrastructure.persistent.service;

import com.github.yulichang.base.MPJBaseService;
import org.dxy.api.dto.vo.WorkOrderOptionVo;
import org.dxy.infrastructure.persistent.po.query.WorkOrderViewPo;

import java.util.List;

/**
 * 工单查询视图服务接口
 */
public interface WorkOrderViewService extends MPJBaseService<WorkOrderViewPo> {

    List<WorkOrderOptionVo> getAvailableWorkOrders();

    Long findIdByProductId(Long productId);
}